package com.chy.sprbootmanual.service.imp;

import com.chy.sprbootmanual.dao.GalleryMapper;
import com.chy.sprbootmanual.service.GalleryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class GalleryServiceImpl implements GalleryService {
    @Autowired
    private GalleryMapper galleryMapper;

    @Override
    public void delete(String name) {
        galleryMapper.delete(name);
    }
}
